package com.sandwich.admin.domain.repository;


import com.sandwich.admin.domain.CategoryEntity;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * @description 分类信息
 * @date 2021-07-28
 */
public interface CategoryRepository extends PagingAndSortingRepository<CategoryEntity, Long> {
    List<CategoryEntity> findAllByStatus(int status);
}